/*
 * Copyright ®2018 juneyaoair Group.
 *
 *
 *
 */
 
package com.juneyaoair.horder.dto.lounge;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.util.List;
import com.juneyaoair.horder.dto.BaseResultDTO;

/**
 * 休息室查询结果
 *
 * @author jx-air
 * @date 2018-6-19 20:07:56
 */
@Data
@ToString
@EqualsAndHashCode(callSuper=false)   
public class LoungeQueryResponseDto extends BaseResultDTO {

    /** 常旅客ID  */
    @ApiModelProperty(value="常旅客ID")
    @JsonProperty(value="FfpId")
    private String ffpId;
    /** 常旅客卡号  */
    @ApiModelProperty(value="常旅客卡号")
    @JsonProperty(value="FfpCardNo")
    private String ffpCardNo;
    /** 休息室List  */
    @ApiModelProperty(value="休息室List")
    @JsonProperty(value="LoungeQueryList")
    private List<LoungeQueryDto> loungeQueryList;
    
    /**
     * 默认构造方法
     */
    public LoungeQueryResponseDto() {
    	super();
    }
    
    /**
     * 根据请求参数新建返回结果
     *
     * @param request 请求参数
     */
    public LoungeQueryResponseDto(LoungeQueryRequestDto request) {
    	super(request);
    	this.ffpId = request.getFfpId();
    	this.ffpCardNo = request.getFfpCardNo();
    }
}